package com.base.vistter.iframe.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StationResponse implements Serializable {

    private Integer id;

    private Float p;

    private Float monthElectric;

    private Float equivalentTime;

    private String name;

    private Integer isCollected;

    private Float dp;

    private Float yearElectric;

    private Float capacity;

    private Float totalElectric;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
